package com.regis.service;

import com.regis.entity.db.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.regis.entity.ro.EmailRo;
import com.regis.entity.vo.ResultVo;

/**
* @author 纱雾休比酱
* @description 针对表【user(用户信息)】的数据库操作Service
* @createDate 2022-07-28 03:58:08
*/
public interface UserService extends IService<User> {

    /**
     * 发送邮箱
     * @param emailRo EmailRo
     */
    void send(EmailRo emailRo);

    /**
     * 用户登录
     */
    ResultVo<User> login(String email, String code);

}
